//
//  RoundedButton.m
//  CustomView
//
//  Created by hoho on 14-11-13.
//  Copyright (c) 2014年 thinkcart.net. All rights reserved.
//

#import "RoundedButton.h"

@implementation RoundedButton

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

- (void)drawRect:(CGRect)rect {
    
    self.layer.masksToBounds = YES;
    self.layer.cornerRadius = _cornerRadius;
    self.layer.borderWidth = _borderWidth;
    self.layer.borderColor = _borderColor.CGColor;
    
}

@end
